/**
	License:		GNU General Public License version 3 (see license.txt, also available online at http://www.gnu.org/licenses/gpl-3.0.html)
	Authors:		OrbitalLab (http://www.orbitallab.ru/dee0xd/), 2008-2009

	File:			version.d
	Description:	some version stuff
	Date:			09.12.2008 by Digited
**/
module dee0xd.Version;

import
	tango.text.convert.Layout,
	tango.core.Version,

	dee0xd.Log;

//-----------------------------------------------------------------------------------------------------------------------------

public enum Dee0xD_Version
{
	Major = 0,
	Minor = 7
}

package char[] description;

//----------------------------------------------------------------------------------------------------------------------------

private
{
	static this()
	{
		description = Format( "
 Dee0xD {}.{} from {} built with {} {} & tango {}.{}
 GPL v3, made by OrbitalLab (http://orbitallab.ru/dee0xd/) & contributors
 
 Usage: launch with parameters

 First parameter:
  build		:: compile & link target(s)
  clean		:: delete output files
  rebuild	:: clean & build
  repeat	:: do once more what's written in last.dxd

 Options:
  group		:: build modules alltogather
  seplink	:: link with a separate command
  nolink	:: do not link
  lib		:: link to static lib
  check		:: do not compile what's up to date
  name=<name>	:: set output file name (without extension)
  outdir=<path>	:: move output file to <path>
  bindir=<path>	:: move object files to <path>

 Flags:
  -c<name>	:: set compiler (default: dmd)
  -v<version>	:: pass version flag to compiler
  -I<path1>	:: add module search path(s)
  -L<path1>	:: add library search path(s)
  -l<lib>	:: add file to linkage (object file or static lib)
  -s<name>	:: skip file or directory (ignore), <name> is regexp
  -p<n>		:: set pagesize for Optlink (default is 512)
  -g		:: generate debug symbols
  -d		:: generate documentation from source
  -h		:: generate D interface files (.di)
  -o		:: optimize
  -i		:: inline
  -r		:: compile in release version
  -u		:: compile with unittests

  --verbose	:: flood and spam to console about everything
  --forget	:: do not save commands to last.dxd
  --rename	:: rename instead of separate folders for group

  add<option>	:: pass other flag/option to compiler",
		Dee0xD_Version.Major, Dee0xD_Version.Minor, __DATE__, __VENDOR__, __VERSION__, Tango.Major, Tango.Minor );
	}
}
